package com.woniuxy.service;


import com.woniuxy.entity.Equipment;
import com.woniuxy.entity.EquipmentChange;
import com.woniuxy.entity.PageBean;

//设备流动记录业务层
public interface EquipmentChangeService {
    //分页展示所有设备流动信息
    //通过设备名查询
    PageBean<EquipmentChange> getEquipmentChangePageByCondition(EquipmentChange equipmentChange, int pageIndex, int pageSize);

    //通过设备种类查询
    PageBean<EquipmentChange> getEquipmentChangePageByCategory(EquipmentChange equipmentChange, int pageIndex, int pageSize);

    //添加设备流通记录
    void addEquipmentChange(EquipmentChange equipmentChange);

    //删除设备流通记录
    void deleteEquipmentChange(int equipmentChangeId);
}
